﻿// Copyright (c) ZhangPeihang. All rights reserved.
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Specialized;

namespace LaserMark.DataAccess.Extensions
{
    public static class SqlExceptionExtension
    {
        public static string Format(this Exception exception, NameValueCollection collection)
        {
            return collection.Get("LastCommand") + collection.Get("LastArgs");
        }
    }
}
